@font-face {
    font-family: 'icomoon1';
    src: url('../fonts/icomoon.eot?ji03mf');
    src: url('../fonts/icomoon.eot?ji03mf#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?ji03mf') format('truetype'),
        url('../fonts/icomoon.woff?ji03mf') format('woff'),
        url('../fonts/icomoon.svg?ji03mf#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background-color: #fff;
}

body::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #1f201f;
}

.article-list {
    /* height: 1000px; */
    margin: 20px 0 70px 0;
}

/* 这是主页面的上半部分最大的盒子 */
.article-list .article-list-top {
    /* height: 600px; */
    width: 100%;
    /* border: 2px solid #fff; */

}

.article-list .article-list-top .a-top {
    /* width: 100%; */
    height: 120px;
    /* border-bottom: 2px solid #fff; */
    position: relative;
}

/* 由于这里的span都没有起类名，所以是会有继承关系的，下面的span只能重复写很多东西，去覆盖父亲 */
.article-list .article-list-top .a-top span {
    display: inline-block;
    color: #63b0e3;
    font-family: 'icomoon1';
    font-size: 50px;
    user-select: none;
    position: absolute;
    top: 30px;
    left: 18px;
}

.article-list .article-list-top .a-top div:nth-of-type(1) {
    position: relative;
    top: 30px;
    left: 60px;
}

.article-list .article-list-top .a-top div span:nth-of-type(1) {
    font-size: 28px;
    position: absolute;
    top: 0px;
    left: 19px;
    font-family: word2;
    color: #fff;
}

.article-list .article-list-top .a-top div span:nth-of-type(2) {
    font-size: 17px;
    font-family: word;
    color: #fff;
    left: 25px;
}

.article-list .article-list-top .a-top .seek {
    position: absolute;
    top: 10px;
    right: 200px;
}

.article-list .article-list-top .a-top .seek .test input {
    width: 240px;
    height: 40px;
    border-radius: 20px;
    margin: -10px 0 0 0;
    outline: none;
    padding: 0 10px;
    color: #fff;
    background: #000;
}

.article-list .article-list-top .a-top .seek .seek-logo {
    position: absolute;
    top: -8px;
    left: 280px;
    user-select: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
}

.article-list .article-list-top .a-top .seek .seek-logo img {
    width: 100%;
    height: 100%;
}




/* 盒子抖动效果 */
@-webkit-keyframes shake {
    0% {
        -webkit-transform: translate(2px, 2px);
    }

    25% {
        -webkit-transform: translate(-2px, -2px);
    }

    50% {
        -webkit-transform: translate(0px, 0px);
    }

    75% {
        -webkit-transform: translate(2px, -2px);
    }

    100% {
        -webkit-transform: translate(-2px, 2px);
    }
}

@keyframes shake {
    0% {
        transform: translate(2px, 2px);
    }

    25% {
        transform: translate(-2px, -2px);
    }

    50% {
        transform: translate(0px, 0px);
    }

    75% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(-2px, 2px);
    }
}


/* 
.shake {
    position: relative;
    top: 30px;
    left: 100px;
    width: 200px;
    /* color: #ff0000; 
} */

.article-list .article-list-top .a-top .seek .seek-logo:hover {
    /* forwards 动画只执行一次 */
    -webkit-animation: shake0.2s forwards;
    animation: shake 0.2s forwards;
    /* transition: all 0.1s ease-in-out; */
}

/* 盒子抖动效果结束 */

.article-list .article-list-top .select {
    margin-top: 10px;
}

.article-list .article-list-top .select li {
    margin: 20px 20px;
    color: #fff;
    user-select: none;
    font-size: 22px;
}

.article-list .article-list-top .select li input {
    margin: 0 0 0 10px;
    outline: none;
    border-radius: 15px;
    height: 30px;
    padding: 0 10px;
    background-color: #000;
    color: #fff;
}


/* 搜索栏的分割线 */
.article-list-top .divide {
    margin-top: 40px;
    font-family: 'icomoon1';
    color: #fff;
    user-select: none;
}

.article-list-top .divide li {
    float: left;
    font-size: 22px;
    margin: 0 1px 0 0;
}

.article-list-top .divide span li:nth-of-type(1) {
    color: rgb(199, 80, 50);
    margin-left: 2px;
}

.article-list-top .divide span li:nth-of-type(2) {
    color: rgb(212, 174, 50);
}

.article-list-top .divide span li:nth-of-type(3) {
    color: rgb(210, 219, 48);
}

.article-list-top .divide span li:nth-of-type(4) {
    color: rgb(139, 172, 41);
}

.article-list-top .divide span li:nth-of-type(5) {
    color: rgb(143, 221, 60);
}

.article-list-top .divide span li:nth-of-type(6) {
    color: rgb(58, 216, 63);
}

.article-list-top .divide span li:nth-of-type(7) {
    color: rgb(43, 210, 149);
}

.article-list-top .divide span li:nth-of-type(8) {
    color: rgb(57, 193, 214);
}

.article-list-top .divide span li:nth-of-type(9) {
    color: rgb(40, 78, 173);
}

.article-list-top .divide span li:nth-of-type(10) {
    color: rgb(121, 54, 157);
}

.article-list-top .divide span li:nth-of-type(11) {
    color: rgb(199, 50, 129);
}

.article-list-top .divide span li:nth-of-type(12) {
    color: rgb(199, 50, 72);
}

.article-list-top .divide span li:nth-of-type(13) {
    color: rgba(240, 11, 11, 0.462);
}

.article-list-top .divide span li:nth-of-type(14) {
    color: rgba(174, 155, 31, 0.617);
}

.article-list-top .divide span li:nth-of-type(15) {
    color: rgba(137, 199, 50, 0.679);
}

.article-list-top .divide span li:nth-of-type(16) {
    color: rgba(40, 200, 48, 0.648);
}

.article-list-top .divide span li:nth-of-type(17) {
    color: rgba(24, 176, 136, 0.578);
}

.article-list-top .divide span li:nth-of-type(18) {
    color: rgba(32, 199, 204, 0.808);
}

.article-list-top .divide span li:nth-of-type(19) {
    color: rgba(50, 105, 199, 0.515);
}

.article-list-top .divide span li:nth-of-type(20) {
    color: rgba(66, 28, 194, 0.644);
}

.article-list-top .divide span li:nth-of-type(21) {
    color: rgba(126, 26, 133, 0.31);
}




/* 放置文章标题的main */
.article-main {
    /* 不用设置高度，用li撑开 */
    /* height: 800px; */
    /* 没有设置距离底部margin，因为没用，设置在最大的父盒子上了 */
    margin: 90px 0 0 0;
    /* border: 2px solid #fff; */
}

.article-main li {
    width: 946px;
    height: 166px;
    border: 2px solid #fff;
    margin: 0 0 30px 25px;
    border-radius: 30px;
    box-shadow: 4px 5px #fff;
    transition: all 0.2s;
}

.article-main li:hover {
    box-shadow: 4px 5px #63b0e3;
    transform: translateY(-10px);
}

.article-main li:nth-of-type(1) {
    margin-top: 10px;
}

.article-main li .art-title {
    width: 600px;
    height: 126px;
    padding: 20px 10px;
    /* border: 1px solid #63b0e3; */
    float: left;
}

.article-main li .art-title span {
    color: #fff;
    user-select: none;
}

.article-main li .art-title span:nth-of-type(1) {
    font-size: 20px;
    display: inline-block;
    width: 100%;
    /* height: 30px; */
}

.article-main li .art-title span:nth-of-type(2) {
    display: inline-block;
    width: 180px;
    height: 30px;
    font-size: 18px;
    /* 大盒子高度166 */
    margin: 10px 0 0 30px;
    line-height: 30px;
    text-align: center;
    /* 设置文本超出为... */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}





.article-main li .art-comment {
    width: 300px;
    height: 126px;
    padding: 20px 10px;
    /* border: 1px solid #ccc; */
    float: right;
    /* position: relative; */
}

.article-main li .art-comment span {
    display: inline-block;
    font-size: 22px;
    color: #fff;
    float: right;
    user-select: none;
}

.article {
    position: fixed;
    width: 800px;
    height: 600px;
    background-color: rgb(78, 73, 73);
    top: 200px;
    left: 330px;
    border-radius: 30px;
    box-shadow: 7px 7px rgb(103, 99, 99);
    display: none;
}

.article .shut {
    font-family: 'icomoon1';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 35px;
    user-select: none;
    cursor: pointer;
    color: rgba(168, 21, 21, 0.835);
    font-weight: 800;
}

/* 悬浮着的黑色盒子 */
.article div {
    width: 700px;
    height: 480px;
    background-color: #212121;
    box-shadow: 15px 15px 30px #191919,
        -15px -15px 30px #292929;
    transition: border-radius cubic-bezier(0.075, 0.82, 0.165, 1) 1s,
        transform cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
    margin: 55px 0 0 35px;
    font-family: myword;
    padding: 20px 10px;
    position: relative;
    user-select: none;
    color: #58b745;
    border-radius: 30px;
}

.article div:hover {
    border-bottom-right-radius: 50px;
    border-top-left-radius: 50px;
    transform: scale(1.05);
}

/* 悬浮着的盒子的侧边条 */
.chat::-webkit-scrollbar {
    width: 8px;
}

.chat::-webkit-scrollbar-track {
    background-color: #fff;
}

.chat::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #63b0e3;
}

.article div span {
    user-select: none;
    color: #fff;
    display: block;
}

.article div span:nth-of-type(1) {
    width: 600px;
    height: 80px;
    text-align: center;
    line-height: 60px;
    font-size: 20px;
    font-family: word3;
}

.article div span:nth-of-type(2) {
    width: 600px;
    height: 350px;
    overflow: auto;
    margin: 0 0 0 50px;
    /* font-family: word3; */
    line-height: 40px;
    letter-spacing: 4px;
}

.article div span:nth-of-type(3) {
    font-family: word;
    margin: 20px 0 0 30px;
}

.article div span:nth-of-type(3) span {}